<div ng-controller="SubscribemessageCtrl" ng-init="mylistAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/subscribemessage/list">{{'我的模板列表'| translate}}</a></li>
        <li class="active">
            {{"List"|translate}}
        </li>
        <span class="sui-form sui-form pull-right">
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'title'|translate}}</th>
                <th>{{'内容'|translate}}</th>
                <!-- <th>{{'例子'|translate}}</th> -->
                <th>{{'模板类型'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in my_list">
                <td>{{list.title}}</td>
                <td>
                    <span ng-bind-html="list.content | html"></span>
                </td>
                <!-- <td>
                     <span ng-bind-html="list.example | html"></span>
                </td> -->
                <td>
                    {{list.type == 2?"一次性订阅":"长期订阅"}}
                </td>
                <td>
                    <button class="sui-btn btn-primary" ng-click="delTemplate(list.priTmplId)">{{'删除'|translate}}</button>
                </td>
            </tr>
        </tbody>
    </table>
</div>